using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using HermesPortal.Core;  
public partial class Saga_Controls_SagaView : System.Web.UI.UserControl
{
    private int _sagaId = 0;
    public int SagaID
    {
        get { return _sagaId; }
        set { _sagaId = value; }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        BindControls();
    }

    private void BindControls()
    {
        Saga saga = SagaServices.GetSaga(SagaID);

        lblSagaTitle.Text  = saga.Name;
        lblSagaTagLine.Text  = saga.TagLine;
        lblCurrentAffiars.Text  = saga.CurrentAffairs;
        lblSummary.Text = saga.SagaSummary;
        lblformation.Text = saga.FormationStory;
   
    }
}
